#include("../_common/form_input.html")
#@admin_header()
<!-- 内容主体区域 -->
<div class="layui-body">
  <div style="padding: 15px;">
    <div class="layui-row">
      <div class="layui-col-md12">
        <fieldset class="layui-elem-field layui-field-title">
          <legend>正在进行的任务</legend>
        </fieldset>
        <table class="layui-table">
          <thead>
          <tr>
            <th>线程ID</th>
            <th>线程名称</th>
            <th>是否存活</th>
            <th>是否中断</th>
          </tr>
          </thead>
          <tbody>
          #for(x : list)
          <tr>
            <td>#(x.id)</td>
            <td>#(x.name)</td>
            <td>#(x.isAlive ? '是' : '否')</td>
            <td>#(x.isInterrupted ? '是' : '否')</td>
          </tr>
          #else
          <tr>
            <td colspan="4">没有任务</td>
          </tr>
          #end
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>
<script>
  //JavaScript代码区域
  layui.use(['table'], function () {
  });
</script>
#@admin_footer()
